package ankang.day140104;

import java.util.Scanner;

public class Test5 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int year=1;
        while(year>0){
            year=sc.nextInt();
            String rs= ((year % 4 == 0   &&   year % 100 != 0)   ||    (year % 400 == 0 )) ?  "是闰年" :  "不是闰年";
            System.out.println(rs);
        }

    }
}